#ifndef ADAPTVISION_H
#define ADAPTVISION_H

#include "adaptvision_global.h"
#include "scvision.h"
#include "commonmethod.h"
#include "errorHandling/actionerror.h"

class ADAPTVISIONSHARED_EXPORT AdaptVision : public SCVision
{

public:
    AdaptVision();

    // SCVision interface
public:
    virtual bool performPr(QImage &image,
                           QString prName,
                           PrType prType,
                           double objectScore,
                           PRResultImageInfo &resultImageInfo,
                           PRResultStruct &prResult,
                           int roiRowIndex,
                           int roiColIndex,
                           QVariantMap args) override;

    virtual bool glueCheck(QImage &imageBefore,
                           QImage &imageAfter,
                           double resoultion,
                           QImage &resultImage,
                           double &outMinGlueWidth,
                           double &outMaxGlueWidth,
                           double &outMaxAvgGlueWidth) override
    {
        return false;
    }

    virtual bool checkDongle() override;

    virtual QVector<QPointF> readDispensePath(QString fileName) override;

    virtual void drawResultImage(QImage &image, PRResultImageInfo &resultImageInfo) override;
};

#endif    // ADAPTVISION_H
